<template>
  <router-view v-if="isLogined"></router-view>
</template>
<script setup lang="ts">
import { ref, nextTick, provide } from 'vue'

let isLogined = ref<boolean>(true);
function update(){
    isLogined.value = false;
    nextTick(()=>{
        isLogined.value = true;
    })
}
provide('isLogined',update)
</script>
<style scoped>

</style>
